package com.octnote.domain.note;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.web.multipart.MultipartFile;

/**
 * 创建记事字段POJO定义
 * 
 * @author leohehe
 *
 */
public class NoteFileUploadForm {
    @NotEmpty
    private String userId;
    /**
     * 记事ID
     */
    @NotEmpty
    private String noteId;
    /**
     * 记事中的图片，音频文件
     */
    private MultipartFile[] multipartFile;


    public MultipartFile[] getMultipartFile() {
        return multipartFile;
    }

    public void setMultipartFile(MultipartFile[] multipartFile) {
        this.multipartFile = multipartFile;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNoteId() {
        return noteId;
    }

    public void setNoteId(String noteId) {
        this.noteId = noteId;
    }
}
